package com.seecen.service;

import cn.hutool.core.util.ObjectUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.seecen.mapper.UserMapper;
import com.seecen.pojo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.seecen.utils.JwtHelper;
import com.seecen.utils.MD5Utils;
import com.seecen.utils.Result;
import com.seecen.utils.ResultCode;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.HashMap;

/**
* @author xuxin
* @description 针对表【t_user(用户信息表)】的数据库操作Service
* @createDate 2025-10-16 10:19:26
*/
public interface UserService extends IService<User> {

    Result login(User user);

    Result getUser(String token);

    Result register(User user);

    Result resetAccount(User user);

    Result getUserStats(String token);

    Result updateUser(String token, User user);

    Result revokeAccount(String token);
}
